package org.com.liurz.iresources.activiti.util;

/**
 * @author liurz
 * @version V1.0
 * @Package org.com.liurz.iresources.activiti.util
 * @date 2021/9/30 20:36
 * @Copyright © 2020-2028
 */
public  enum ResultCode  {
    FAIL(-1, "未知的错误"),
    SUCCESS(0, "成功"),
    Unauthorized(403, "未授权的请求");

    private Integer code;
    private String msg;

    private ResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
